@font-face {
    font-family: "iconfont"; /* Project id 5017595 */
    src: url('https://at.alicdn.com/t/c/font_5017595_4sfsonkei9l.woff2?t=1757549307657') format('woff2'),
    url('https://at.alicdn.com/t/c/font_5017595_4sfsonkei9l.woff?t=1757549307657') format('woff'),
    url('https://at.alicdn.com/t/c/font_5017595_4sfsonkei9l.ttf?t=1757549307657') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-sousuo-copy:before {
    content: "\e600";
}

.icon-shouye:before {
    content: "\e65d";
}

.icon-shop:before {
    content: "\e61e";
}

.icon-gouwuche:before {
    content: "\f4b3";
}

.icon-ren:before {
    content: "\e621";
}


/* 优化后的顶部导航栏样式 */
.top-optimized {
    background: linear-gradient(to bottom, #f8f8f8, #eaeaea);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #ddd;
}

.top-optimized .py-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.top-optimized .shortcut {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    line-height: 52px;
    text-align: center;
}

.top-optimized .fl, .top-optimized .fr {
    display: flex;
    align-items: center;
    list-style: none;
}

.top-optimized .f-item {
    margin-right: 10px;
    font-size: 20px;
    font-weight: bold;
}

.top-optimized .f-item.login-register {
    font-size: 16px;
}

.top-optimized .f-item:last-child {
    margin-right: 0;
}

.top-optimized .welcome-message {
    color: #e54346;
    font-weight: bold;
    font-size: 20px;
}

.top-optimized .nav-links a {
    text-decoration: none;
    color: #666;
    transition: color 0.3s;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
}

.top-optimized .nav-links a:hover {
    color: #e82633;
    background-color: #f5f5f5;
}

.top-optimized .space {
    width: 1px;
    height: 24px;
    background: #ccc;
    margin: 0 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-optimized .shortcut {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    .top-optimized .fl, .top-optimized .fr {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .top-optimized .f-item {
        margin: 0 5px;
    }
}